-- GENERATED SPELL FOR [War Golem] --


function spell0_2751(pUnit, Event) --@Lock Down,Self--
pUnit:FullCastSpellOnTarget(9576,pUnit)
pUnit:RegisterEvent('Sorts_2751', 10312, 1)
end

function Sorts_2751(pUnit, Event)
local choix_sorts_2751 = math.random(0, 0)
if choix_sorts_2751 == 0 then
pUnit:RegisterEvent('spell0_2751', 1, 1)
end
end

function mob2751_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2751', math.random(1500, 3000), 1)
end

function mob2751_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2751_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2751_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2751, 1, 'mob2751_Action')
RegisterUnitEvent(2751, 2, 'mob2751_Leave')
RegisterUnitEvent(2751, 3, 'mob2751_Kill')
RegisterUnitEvent(2751, 4, 'mob2751_Die')
